/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sige

import java.text.SimpleDateFormat
import java.text.DateFormat
/**
 *
 * @author Antunes
 */
class DateTransformer {
    static Date stringToDate(String data){
        data.replaceAll(~/-/, "/")
        DateFormat formatter = new SimpleDateFormat("yyyy/MM/dd");  
        Date date = (Date)formatter.parse(data);
        date
    }
}

